package com.yfp.client.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yfp.common.core.text.BigDecimalSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 礼包销售
 */
@Tag(name = "礼包销售列表")
@Data
public class MarCouponPackShopVO implements Serializable {

    private static final long serialVersionUID = -8159912924953185748L;

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 礼包名称
     */
    @Schema(description = "礼包名称")
    private String name;

    /**
     * 礼包价格
     */
    @JsonSerialize(using = BigDecimalSerializer.class)
    @Schema(description = "礼包价格")
    private BigDecimal price;

    /**
     * 购买说明
     */
    @Schema(description = "购买说明")
    private String declare;

    /**
     * 商品图
     */
    @Schema(description = "商品图")
    private String shopImg;

    /**
     * 套餐标签名称
     */
    @Schema(description = "套餐标签名称")
    private String tagName;

    /**
     * 实时库存数量
     */
    @Schema(description = "实时库存数量")
    private Long currentStock;

    /**
     * 是否可购买
     */
    @Schema(description = "是否可购买:[0：不能买、1:能买]")
    private Integer canBuy;
}